<template>
    <div >
      <HistoryDetailItem
        v-for="(item, index) in exam"
        :key="index"
        :exam="item"
      />
    </div>
</template>

<script>
  import { mapState } from 'vuex'
  import HistoryDetailItem from '@/components/history_detail.vue'
  export default {
    name: 'HistoryDetail',
    components: {HistoryDetailItem},
    computed: {
      ...mapState(['exam'])
    }
  }
</script>

<style scoped>

</style>
